home *** CD-ROM | disk | FTP | other *** search
- Path: hubcap.clemson.edu!usenet
- From: ckirsch@eng.clemson.edu (Chuck Kirschman)
- Newsgroups: comp.os.msdos.programmer,comp.lang.c
- Subject: What does this do?
- Date: 5 Mar 1996 01:14:39 GMT
- Organization: Clemson University College of Engineering
- Distribution: world
- Message-ID: <4hg4hv$iqb@hubcap.clemson.edu>
- Reply-To: ckirsch@eng.clemson.edu
- NNTP-Posting-Host: alms.eng.clemson.edu
-
- I'm working in *somebody else's code*, which I'm sure everyone pretty
- much dreads. I've run across a construct which I don't understand the
- purpose of:
-
- void foo(int bar, float *baz)
- {
- int x,y;
-
- (void) x;
- (void) y;
-
- [rest of function]
- }
-
- The compiler (Watcom 10.5) doesn't like it, but lets it pass. What exactly
- is this doing? And, more importantly, what is the author trying to acheive?
-
- thanks
- chuck
-
- ---
- Chuck Kirschman ckirsch@eng.clemson.edu
- http://www.eng.clemson.edu/~ckirsch/
- "I don't NEED to compromise my principles, because they don't have the
- slightest bearing on what happens to me anyway." - Calvin
-
-
-